<template>
  <div>
    <h1>Home Page</h1>
    <button @click="to">Go About</button>
  </div>
</template>
<script setup lang="ts">
import router  from "@/router";

function to() {
  router.push("/about");
}
</script>
